package com.surenpi.jenkins.client.folder;

import com.surenpi.jenkins.client.job.Job;
import java.util.List;

public class FolderJob extends Job {
   private String displayName;
   private List<Job> jobs;

   public FolderJob() {
   }

   public FolderJob(String name) {
      super(name, "/job/" + name + "/");
   }

   public FolderJob(String name, String url) {
      super(name, url);
   }

   public FolderJob(String name, String url, String fullName) {
      super(name, url, fullName);
   }

   public String getDisplayName() {
      return this.displayName;
   }

   public boolean isFolder() {
      return this.jobs != null;
   }
}
